/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package GM;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Goal</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link GM.Goal#getDescription <em>Description</em>}</li>
 *   <li>{@link GM.Goal#isLeaf <em>Leaf</em>}</li>
 *   <li>{@link GM.Goal#getPriority <em>Priority</em>}</li>
 *   <li>{@link GM.Goal#getRef <em>Ref</em>}</li>
 *   <li>{@link GM.Goal#getSonOf <em>Son Of</em>}</li>
 *   <li>{@link GM.Goal#getContr <em>Contr</em>}</li>
 *   <li>{@link GM.Goal#getOperat <em>Operat</em>}</li>
 *   <li>{@link GM.Goal#getDefinition <em>Definition</em>}</li>
 * </ul>
 * </p>
 *
 * @see GM.GMPackage#getGoal()
 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='IsLeafe SatisfactionRange'"
 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL IsLeafe='if(leafe = true) then (ref = null) else (ref <> null) endif' SatisfactionRange='satisfactionLevel<=1 and satisfactionLevel>=0'"
 * @generated
 */
public interface Goal extends GM.Object {
	/**
	 * Returns the value of the '<em><b>Description</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Description</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Description</em>' attribute.
	 * @see #setDescription(String)
	 * @see GM.GMPackage#getGoal_Description()
	 * @model
	 * @generated
	 */
	String getDescription();

	/**
	 * Sets the value of the '{@link GM.Goal#getDescription <em>Description</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Description</em>' attribute.
	 * @see #getDescription()
	 * @generated
	 */
	void setDescription(String value);

	/**
	 * Returns the value of the '<em><b>Leaf</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Leaf</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Leaf</em>' attribute.
	 * @see #setLeaf(boolean)
	 * @see GM.GMPackage#getGoal_Leaf()
	 * @model required="true"
	 * @generated
	 */
	boolean isLeaf();

	/**
	 * Sets the value of the '{@link GM.Goal#isLeaf <em>Leaf</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Leaf</em>' attribute.
	 * @see #isLeaf()
	 * @generated
	 */
	void setLeaf(boolean value);

	/**
	 * Returns the value of the '<em><b>Priority</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Priority</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Priority</em>' attribute.
	 * @see #setPriority(int)
	 * @see GM.GMPackage#getGoal_Priority()
	 * @model required="true"
	 * @generated
	 */
	int getPriority();

	/**
	 * Sets the value of the '{@link GM.Goal#getPriority <em>Priority</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Priority</em>' attribute.
	 * @see #getPriority()
	 * @generated
	 */
	void setPriority(int value);

	/**
	 * Returns the value of the '<em><b>Ref</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link GM.RefinementLink#getMyFather <em>My Father</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Ref</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Ref</em>' reference.
	 * @see #setRef(RefinementLink)
	 * @see GM.GMPackage#getGoal_Ref()
	 * @see GM.RefinementLink#getMyFather
	 * @model opposite="myFather"
	 * @generated
	 */
	RefinementLink getRef();

	/**
	 * Sets the value of the '{@link GM.Goal#getRef <em>Ref</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Ref</em>' reference.
	 * @see #getRef()
	 * @generated
	 */
	void setRef(RefinementLink value);

	/**
	 * Returns the value of the '<em><b>Son Of</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link GM.RefinementLink#getTarget <em>Target</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Son Of</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Son Of</em>' reference.
	 * @see #setSonOf(RefinementLink)
	 * @see GM.GMPackage#getGoal_SonOf()
	 * @see GM.RefinementLink#getTarget
	 * @model opposite="target"
	 * @generated
	 */
	RefinementLink getSonOf();

	/**
	 * Sets the value of the '{@link GM.Goal#getSonOf <em>Son Of</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Son Of</em>' reference.
	 * @see #getSonOf()
	 * @generated
	 */
	void setSonOf(RefinementLink value);

	/**
	 * Returns the value of the '<em><b>Contr</b></em>' reference list.
	 * The list contents are of type {@link GM.ContributionLink}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Contr</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Contr</em>' reference list.
	 * @see GM.GMPackage#getGoal_Contr()
	 * @model
	 * @generated
	 */
	EList<ContributionLink> getContr();

	/**
	 * Returns the value of the '<em><b>Operat</b></em>' reference list.
	 * The list contents are of type {@link GM.Operation}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Operat</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Operat</em>' reference list.
	 * @see GM.GMPackage#getGoal_Operat()
	 * @model
	 * @generated
	 */
	EList<Operation> getOperat();

	/**
	 * Returns the value of the '<em><b>Definition</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Definition</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Definition</em>' containment reference.
	 * @see #setDefinition(Definition)
	 * @see GM.GMPackage#getGoal_Definition()
	 * @model containment="true" required="true"
	 * @generated
	 */
	Definition getDefinition();

	/**
	 * Sets the value of the '{@link GM.Goal#getDefinition <em>Definition</em>}' containment reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Definition</em>' containment reference.
	 * @see #getDefinition()
	 * @generated
	 */
	void setDefinition(Definition value);

} // Goal
